
// ChildView.h : interface of the CChildView class
//
#pragma once

#include "graphics/OpenGLWnd.h"
#include "CParticleSystem.h"


// CChildView window

class CChildView : public COpenGLWnd
{
public:
	CChildView();
	virtual ~CChildView();
	void OnGLDraw(CDC * pDC);

	//afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);

	bool pause;
	bool cont;
	double x;
protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	// Generated message map functions
	DECLARE_MESSAGE_MAP()


private:
	CParticleSystem mPSystem;
};

